#ifndef _PLATFORM_H_
#define _PLATFORM_H_

#include "riscv-reg.h"

#ifdef __ASSEMBLER__
#define CONS(NUM, TYPE)NUM
#else
#define CONS(NUM, TYPE)NUM##TYPE
#endif /* __ASSEMBLER__ */

#define PRIM_HART			0

#define UART_ADDR		CONS(0x10000000, UL)

#ifndef __ASSEMBLER__

#endif /* __ASSEMBLER__ */

#endif /* _PLATFORM_H_ */
